<?php if ($sf_user->hasFlash('error')): ?>
  <div id="page_message" class="page_mess_animate page_mess_error">
    <?php echo $sf_user->getFlash('error') ?>
  </div>
    <script type="text/javascript">
        $(function(){
            $("#page_message").show();
        })
    </script>
<?php endif; ?>

    
 <?php if ($sf_user->hasFlash('good')): ?>
        <script type="text/javascript">
        $(function(){
           alert("还款成功");
        })
    </script>
    
 <?php endif; ?>


